package com.Interface.dao;

import java.util.List;
import java.util.Map;

import com.Interface.entity.VoteInfo;

public interface VoteInfoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(VoteInfo record);

    int insertSelective(VoteInfo record);

    VoteInfo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(VoteInfo record);

    int updateByPrimaryKey(VoteInfo record);
    
    List<Map<String, Object>> selectByTopicId(int topicId);
}